package com.seari.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @ClassName PassengerFlowMapper
 * @Description TODO
 * @Author LANDSUS
 * @Date 2021/4/27 15:18
 * @Version 1.0
 */
@Mapper
public interface PassengerFlowMapper {
    List<Map<String, Object>> stationFlow();

    List<Map<String, Object>> stationFlowTodayTotal(String type);

    List<Map<String, Object>> total4station(String type);

    List<Map<String, Object>> lastHourInPassenger4District();

    Integer lastHourInPassengerTotal();

    Integer trulyOnLinePassenger();

    List<Map<String, Object>> districtFlow();

    List<Map<String, Object>> lastHourInPassenger4NewDistrict();

    List<Map<String, Object>> newDistrictFlow();

    List<Map<String, Object>> newDistrictDailyInAndOutFlow();

    List<Map<String, Object>> newDistrictList();

    List<Map<String, Object>> newDistrictStationFlow(String newDistrictId);

    List<Map<String, Object>> queryNewDistrictWeather();

    List<Map<String, Object>> queryStationNum(String type);

    List<Map<String, Object>> queryLineNum();

    List<Map<String, Object>> queryLineId();

    List<Map<String,Object>> queryStationIdByStationName(@Param("stationNameList")List<String> stationNameList);

    List<Map<String,Object>> queryInAndOutFlowByStationId(@Param("stationIdList")List<Integer> stationIdList);

    List<Map<String,Object>> queryTotalFlowByStationId(@Param("stationIdList")List<Integer> stationIdList);

    // 虹桥商务区 虹桥二号航站楼补丁
    Map<String, Object> queryHongQiao2();

    List<Map<String, Object>> queryStationByStationId(@Param("stationList")List<String> stationList);

    Map<String, Object> trulyInOutPassenger();
}
